package 类与对象.继承;

public class Pupil extends Graduate{

    public void say(){
        System.out.println();
        System.out.println(getN4());
    }

    public Pupil() {
        super("hell");
        System.out.println("子类无参构造器");
    }

    public void test100(){
        System.out.println("zi lei test100");
    }

    public void test100(String name){
        System.out.println("zi lei test100\t" + name);
    }
}
